package com.demo.biz.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import com.demo.biz.UserBiz;
import com.demo.domain.ztm.User;
import com.demo.mapper.ztm.UserMapper;
@Component
public class UserBizImpl implements UserBiz{

	@Autowired
	private UserMapper mapper;
	/**
	 * 
	 */
	@Override
	public User getById(Integer id) {
		
		return mapper.selectByPrimaryKey(id);
	}
	
	

}
